package demo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 张宇田
 * Date: 2024-11-07
 * Time: 23:00
 */
public class Test {
    public static void main(String[] args) {
        MySingleList list1 = new MySingleList();
        MySingleList.ListNode list = new MySingleList.ListNode(1);
        MySingleList.ListNode list2 = new MySingleList.ListNode(2);
        MySingleList.ListNode list3 = new MySingleList.ListNode(3);
        MySingleList.ListNode list4 = new MySingleList.ListNode(4);
        list.next = list2;
        list2.next = list3;
        list3.next = list4;

    }
}
